package com.cyl.spring.service;

import com.cyl.spring.dao.Student;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class StudentService {

    @Resource(name = "studentImpl2")
    private Student student;

    public void service(){
        student.study();
    }
}
